package test

type Place struct {
	Id      int    `gorm:"column:id;primaryKey;autoIncrement" json:"id" form:"id"`
	Country string `gorm:"column:country;default:''" json:"country" form:"country"`
	City    string `gorm:"column:city;default:''" json:"city" form:"city"`
	Telcode string `gorm:"column:telcode;default:''" json:"telcode" form:"telcode"`
}

func (Place) TableName() string {
	return "place"
}
